[]
Gets the index of an item in the collection, or -1 if the item is not found.
public int IndexOf(T item)
Public Function IndexOf(item As T) As Integer
| Type | Name | Description |
|---|---|---|
| T | item | The item to look for. |
| Type | Description |
|---|---|
| int |